package com.hlkj.pay.infrastructure.mapper.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.dto.order.WithdrawOrderQueryDto;
import com.hlkj.pay.dto.order.WithdrawPageStatisticsDto;
import com.hlkj.pay.vo.order.req.WithdrawOrderPageQueryReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hlkj.framework.mybatis.core.mapper.BaseMapperX;
import com.hlkj.pay.dto.order.OrderWithdrawDto;
import com.hlkj.pay.infrastructure.model.order.OrderWithdrawDO;

import java.util.List;

/**
 * @author HlpayTeam
 * @date 2025/02/08 15:26
 */
@Mapper
public interface OrderWithdrawMapper extends BaseMapperX<OrderWithdrawDO> {

    IPage<OrderWithdrawDto> selectPayPage(IPage<OrderWithdrawDto> mpPage, @Param("ew") QueryWrapper<OrderWithdrawDto> queryWrapper);

    List<OrderWithdrawDto> queryList(@Param("ew") QueryWrapper<OrderWithdrawDto> queryWrapper);

    WithdrawPageStatisticsDto withdrawStaticOrdersPage(@Param("query") WithdrawOrderQueryDto commonOrderQueryDto);

}
